﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BuyAmount.aspx.cs" Inherits="Course_BuyAccount" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
   <title>购买总额</title>
    <link href="../../css/assets/css/bootstrap.min.css" rel="stylesheet" />
    <link href="../../css/admin.css" rel="stylesheet" />
    <script src="../../js/jquery-1.7.2.min.js"></script>
    <script src="../../css/assets/js/bootstrap.min.js"></script>
    <style>
        .red {
            color: red;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>

            <div>

                <table class="table table-striped table-bordered table-hover">
                    <tr>
                        <th>课程名称</th>
                        <th>购买总额</th>
                        <th>课程类型</th>
                        <th>课程价格</th>                      
                        <th>点击次数</th>
                    </tr>
                    <tbody>
                        <asp:Repeater ID="RepAmount" runat="server">
                            <ItemTemplate>
                                
                                <tr>
                                    <td><%#Eval("CourseName")%></td>
                                    <td class="red"><%#Eval("BuyAmount")%></td>
                                    <td><%#Eval("CourseTypeName")%></td>
                                    <td><%#Eval("Price")%></td>                                   
                                    <td><%#Eval("ClickCount")%></td>   
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tbody>
                </table>

            </div>
            <div class="pagerLayout">
                <webdiyer:AspNetPager ID="netPager" CssClass="pagerLayout" runat="server" FirstPageText="首页" LastPageText="尾页"
                    NextPageText="下一页" OnPageChanged="netPager_PageChanged" PrevPageText="上一页"
                    PageSize="15">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </form>
</body>
</html>
